ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc.Fluent Namespace / ITemplateBuilder<T> Interface / TemplateBind Method
The specified property name.
The specified item name in DataContext.






In This Topic
    TemplateBind Method
    In This Topic
    When the builder works in template mode, bind the property which name is specified to some item which name is specified.
    Syntax
    'Declaration
     
    
    Function TemplateBind( _
       ByVal propertyName As System.String, _
       ByVal boundName As System.String _
    ) As T
    'Usage
     
    
    Dim instance As ITemplateBuilder(Of T)
    Dim propertyName As System.String
    Dim boundName As System.String
    Dim value As T
     
    value = instance.TemplateBind(propertyName, boundName)
    T TemplateBind( 
       System.string propertyName,
       System.string boundName
    )
    function TemplateBind( 
        propertyName: System.String;
        boundName: System.String
    ): T; 
    function TemplateBind( 
       propertyName : System.String,
       boundName : System.String
    ) : T;
    T* TemplateBind( 
       System.string* propertyName,
       System.string* boundName
    ) 
    T^ TemplateBind( 
       System.String^ propertyName,
       System.String^ boundName
    ) 

    Parameters

    propertyName
    The specified property name.
    boundName
    The specified item name in DataContext.

    Return Value

    Current builder.
    Remarks
    It only works in template mode.
    See Also